package com.itheima.service;

import com.itheima.constant.Result;

import java.text.ParseException;
import java.util.Map;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/10/8 19:39
 */
public interface OrderService {

    //预约操作;
    Result submitOrder(Map map) throws ParseException;

    //根据ID查询 用于预约成功后的数据回显;
    Map findById(Integer id);
}
